package yanjunwei.rbac.service;

import yanjunwei.rbac.domain.dto.UserDto;
import yanjunwei.rbac.domain.entity.User;
import yanjunwei.rbac.domain.vo.Result;

public interface IUserService extends IBaseService<User,UserDto> {

    boolean deptInUse(int deptId);

    boolean roleInUse(int roleId);

    Result toggle(int id);

}
